-- GENERATED SPELL FOR [Darmuk] --


function spell0_28793(pUnit, Event) --@Darmuk\'s Vigilance,Self--
pUnit:FullCastSpellOnTarget(54386,pUnit)
pUnit:RegisterEvent('Sorts_28793', 6302, 1)
end

function Sorts_28793(pUnit, Event)
local choix_sorts_28793 = math.random(0, 0)
if choix_sorts_28793 == 0 then
pUnit:RegisterEvent('spell0_28793', 1, 1)
end
end

function mob28793_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28793', math.random(1500, 3000), 1)
end

function mob28793_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28793_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28793_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28793, 1, 'mob28793_Action')
RegisterUnitEvent(28793, 2, 'mob28793_Leave')
RegisterUnitEvent(28793, 3, 'mob28793_Kill')
RegisterUnitEvent(28793, 4, 'mob28793_Die')
